import express from "express"

import studentRouter from "./router/select/student_router.js";
import teacherRouter from "./router/select/teacher_router.js"
import calssRouter from "./router/select/class_router.js"
import addStudentRouter from "./router/add/add_student_router.js"
import delUserRouter from "./router/delete/delete_user_router.js"
const app = express()
app.use('/api', studentRouter)
app.use('/api', teacherRouter)
app.use('/api', calssRouter)
app.use('/api', addStudentRouter)
app.use('/api', delUserRouter)
app.listen(80, () => {
    console.log('server runing...');
})
export default app